* {
    padding: 0;
    margin: 0;
}

/* 页面中所有a清除下划线 */
a {
    text-decoration: none;
}
html,
body {
    height: 100%;
}
.mian{
    height: 100%;
    display: flex;
    flex-direction: column;
    
}
.header {
    width: 100%;
    position: fixed;
    top: 0rem;
    height: 0.4rem;
    padding-left: 0.15rem;
    background: rgb(246, 240, 227);
    z-index: 999;
}
.con-l {
    width: 1.2rem;
    background: rgb(226, 220, 225);
    position: fixed;
      top: 0.4rem;
      left: 0;
      height: 100%;
    p {
        width: 1rem;
        height: 0.4rem;
        line-height: 0.4rem;
        padding-left: 0.2rem;
        &:hover {
            background: #fff;
            border-left: 0.03rem solid red;
        }
    }
}
.container {
    margin-top: 0.4rem;
   display: flex;
     flex: 1;
     height: 100%;
   
    .con-r {
        padding-left: 0.15rem;
        margin-top: 0.05rem;
        .item {
            margin-left: 1.2rem;
            display: flex;
            margin-bottom: 0.2rem;
            img {
                width: 0.9rem;
                height: 0.9rem;
                margin-right: 0.1rem;
            }
            .p1{
                font-size: 0.18rem;
                font-weight: bold;
                margin-top: 0.1rem ;
                margin-bottom: 0.2rem;
            }
            span{
                color: red;
            }
            .p2{
                margin-left: 1.3rem;
                text-align: center;
                width: 0.9rem;
                height: 0.2rem;
                font-size: 0.16rem;
                cursor: pointer;
                border-radius: 0.1rem;
                background: rgb(248, 137, 137);
            }
        }
    }
}
footer {
    width: 100%;
    height: 0.6rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    bottom: 0;
    background-color: white; 
    border-top: 3px dashed rgb(235, 152, 152);

    div {
        width: 0.8rem;
        height: 0.4rem;
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
         &:hover{
            color: #e02e24;
         }

        span  {
            font-size: 0.2rem;
            color: #666666;
        }
    }
}
.active {
    background-color: red;
}